<div id="qmTianxie" style="height: 592px;">
  <div style="padding-bottom: 10px; border-bottom: 3px #8ad748 solid;text-align: center;">
    <h1>{{data.title}}</h1>
  </div>
  <div>
    <div id="maiDiv" style="text-align:left;">
      {{each data.content as item i}}
      <div>
        {{if item.type == 'head'}}
        <!-- 标题-->
        <div style="padding: 15px 0px 0px 35px;height:1px;" id="{{item.name}}">
          <div style="display:inline-block;font-size:16px;color:#9c9c9c;">{{item.topic}}</div>
        </div>
        {{else}}
        <div style="padding: 15px 0px 0px 35px;border-bottom: 1px #e7e7e7 solid;"
          id="154478be-2dca-4779-a9a3-7cc94c36f4a1">
          <div>{{i+1}}、{{item.topic}}
            {{if item.type == 'testradio' || item.type == 'testcheck' || item.type == 'testinput'}}
            <span style="color:orange">(分数:{{item.code}})</span>
            {{/if}}
          </div>
          <table style="width:100%; margin-top: 10px;">
            <tbody>
              {{if item.type == 'radio'}}
              <!-- 单选题-->
              {{each item.options as option index}}
              <tr id="user_Tab_hover">
                <td>
                  <input type="radio" name="{{item.id}}" value="{{option.name}}">{{option.name}}
                </td>
              </tr>
              {{/each}}
              {{else if item.type == 'check'}}
              <!-- 多选题 -->
              {{each item.options as option index}}
              <tr id="user_Tab_hover">
                <td>
                  <input type="checkbox" name="{{item.id}}" value="{{option.name}}">{{option.name}}
                </td>
              </tr>
              {{/each}}
              {{else if item.type == 'input'}}
              <!-- 填空题 -->
              <div class="pingfendanxuanti" id="user_Tab_hover">
                <textarea name="{{item.id}}" row="1" style="height: 22px; width: 50%;"></textarea>
              </div>
              {{else if item.type == 'matrixradio'}}
              <!-- 矩形单选题 -->
              <tr>
                <td width="{{100/(item.options.length+1)}}%"></td>
                {{each item.options as option}}
                <td width="{{100/(item.options.length+1)}}%">{{option.name}}</td>
                {{/each}}
              </tr>
              {{each item.leftLabel.split('\n') as label}}
              <tr id="user_Tab_hover">
                <td>{{label}}</td>
                {{each item.options as option}}
                <td>
                  <input type="radio" name="{{item.id}}_{{label}}" value="{{option.name}}">
                </td>
                {{/each}}
              </tr>
              {{/each}}
              {{else if item.type == 'matrixcheck'}}
              <!-- 矩形多选题 -->
              <tr>
                <td width="{{100/(item.options.length+1)}}%"></td>
                {{each item.options as option}}
                <td width="{{100/(item.options.length+1)}}%">{{option.name}}</td>
                {{/each}}
              </tr>
              {{each item.leftLabel.split('\n') as label}}
              <tr id="user_Tab_hover">
                <td>{{label}}</td>
                {{each item.options as option}}
                <td>
                  <input type="checkbox" name="{{item.id}}_{{label}}" value="{{option.name}}">
                </td>
                {{/each}}
              </tr>
              {{/each}}
              {{else if item.type == 'matrixinput'}}
              <!-- 矩形填空题 -->
              {{each item.leftLabel.split('\n') as label}}
              <tr id="user_Tab_hover">
                <td style="text-align:left;">{{label}}</td>
                <td style="text-align:left;">
                  <textarea style="width:60%;min-width:400px" name="{{item.id}}_{{label}}" row="1"
                    value="{{label}}"></textarea>
                </td>
              </tr>
              {{/each}}
              {{else if item.type == 'coderadio'}}
              <!-- 评分单选 -->
              {{each item.options as option index}}
              <div class="pingfendanxuanti" id="user_Tab_hover">
                <input type="radio" name="{{item.id}}" value="{{option.name}}" class="{{option.isNull?'isNull':''}}"
                  data-code="{{option.code}}">{{option.name}}
              </div>
              {{/each}}
              {{else if item.type == 'codecheck'}}
              <!-- 评分多选 -->
              {{each item.options as option index}}
              <div class="pingfendanxuanti" id="user_Tab_hover">
                <input type="checkbox" name="{{item.id}}" value="{{option.name}}" class="{{option.isNull?'isNull':''}}"
                  data-code="{{option.code}}">{{option.name}}
              </div>
              {{/each}}
              {{else if item.type == 'codematrix'}}
              <!-- 评分矩形单选填空 -->
              <tr>
                <td width="{{100/(item.options.length+1)}}%"></td>
                {{each item.options as option}}
                <td width="{{100/(item.options.length+1)}}%">{{option.name}}</td>
                {{/each}}
              </tr>
              {{each item.leftLabel.split('\n') as label}}
              <tr id="user_Tab_hover">
                <td>{{label}}</td>
                {{each item.options as option}}
                <td>
                  <input type="radio" name="{{item.id}}_{{label}}" value="{{option.name}}"
                    class="{{option.isNull?'isNull':''}}" data-code="{{option.code}}">
                </td>
                {{/each}}
              </tr>
              {{/each}}
              {{else if item.type == 'testradio'}}
              <!-- 考试单选 -->
              {{each item.options as option index}}
              <div class="pingfendanxuanti" id="user_Tab_hover">
                <input type="radio" name="{{item.id}}" value="{{option.name}}">{{option.name}}
              </div>
              {{/each}}
              {{else if item.type == 'testcheck'}}
              <!-- 考试多选 -->
              {{each item.options as option index}}
              <div class="pingfendanxuanti" id="user_Tab_hover">
                <input type="checkbox" name="{{item.id}}" value="{{option.name}}">{{option.name}}
              </div>
              {{/each}}
              {{else if item.type == 'testinput'}}
              <!-- 考试多选 -->
              <div class="pingfendanxuanti" id="user_Tab_hover">
                <textarea name="{{item.id}}" row="1" style="height: 22px; width: 50%;"></textarea>
              </div>
              {{else if item.type == 'voteradio'}}
              <!-- 投票单选 -->
              {{each item.options as option index}}
              <tr id="user_Tab_hover" name="{{item.id}}">
                <td style="text-align:left" width="50%">
                  <div class="pingfendanxuanti"><input type="radio" name="{{item.id}}"
                      value="{{option.name}}">{{option.name}}</div>
                </td>
                <td style="text-align: left; display: none;" name="{{option.name}}" width="50%">0票(0.00%)</td>
              </tr>
              {{/each}}
              {{else if item.type == 'votecheck'}}
              <!-- 投票多选 -->
              {{each item.options as option index}}
              <tr id="user_Tab_hover" name="{{item.id}}">
                <td style="text-align:left" width="50%">
                  <div class="pingfendanxuanti"><input type="checkbox" name="{{item.id}}"
                      value="{{option.name}}">{{option.name}}</div>
                </td>
                <td style="text-align: left; display: none;" name="{{option.name}}" width="50%">0票(0.00%)</td>
              </tr>
              {{/each}}
              {{/if}}
            </tbody>
          </table>
        </div>
        {{/if}}
      </div>
      <br><br>
      {{/each}}
    </div>
  </div>
</div>